package com.ly.service;

import com.github.pagehelper.PageInfo;
import com.ly.pojo.Student;
import com.ly.pojo.bo.StudentBO;

public interface StudentService {

    /**
     * 添加
     * @param studentBO
     */
    public void saveStudent(StudentBO studentBO);

    /**
     * 引用工具的查询方法
     * @param student
     * @param page
     * @param pageSize
     * @return
     */
    PageInfo<Student> queryByCondition(Student student, int page, int pageSize);

    /**
     * 自定义查询列表
     * @param student
     * @param page
     * @param pageSize
     * @return
     */
    PageInfo<Student> queryCustomList(Student student, int page, int pageSize);
}
